﻿<controls:ChildWindow x:Class="Silverlight.Navigation.Controls.AddToFavorites"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" 
           Title="Add To Favorites">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="70" />
            <ColumnDefinition Width="350" />
        </Grid.ColumnDefinitions>

        <TextBlock x:Name="UriLabelTextBlock" Text="Uri:" Grid.Row="0" Grid.Column="0" VerticalAlignment="Center"></TextBlock>
        <TextBlock x:Name="UriValueTextBlock" Grid.Row="0" Grid.Column="1" VerticalAlignment="Center"></TextBlock>
        
        <TextBlock x:Name="NameLabelTextBlock" Text="Name:" Grid.Row="1" Grid.Column="0" VerticalAlignment="Center"></TextBlock> 
        <TextBox x:Name="NameTextBox" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" TextChanged="NameTextBox_TextChanged"></TextBox>
        
        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="2" Grid.Column="1" />
        <Button x:Name="AddButton" Content="Add" Click="AddButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="2" Grid.Column="1" />
    </Grid>
</controls:ChildWindow>